|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectj3deditor.bin.util.Deployer
public class Deployer
Utilities for manipulating with files on disk.
| Constructor Summary | |
|---|---|
Deployer()
|
|
| Method Summary | |
|---|---|
static void |
createDirectory(java.io.File dir)
Creates the specified directory and all necessary parent directories if it does not exist yet. |
static void |
createFile(java.io.File file)
Creates the specified file and all necessary parent directories if it does not exist yet. |
static void |
extractZip(java.io.InputStream in,
java.io.File dir)
Extracts the contents of the specified ZIP file. |
protected static java.lang.String[][] |
updateLanguageList(java.io.File dir)
Returns the list of available language files from the given directory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Deployer()
| Method Detail |
|---|
public static void createDirectory(java.io.File dir)
throws java.lang.Exception
dir - directory that will be created
java.lang.Exception - if unable to create the specified directory
public static void createFile(java.io.File file)
throws java.lang.Exception
file - file that will be created
java.lang.Exception - if unable to create the specified file
protected static java.lang.String[][] updateLanguageList(java.io.File dir)
throws java.lang.Exception
dir - directory where the files are located
java.lang.Exception - if an exception occurs
public static void extractZip(java.io.InputStream in,
java.io.File dir)
throws java.lang.Exception
in - opened stream from a ZIP filedir - directory where the contents will be extracted to
java.lang.Exception - if unable to extract the specified ZIP file
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||